﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace NoteList.Controls
{
    public class DoubleBufferDataGridView : System.Windows.Forms.DataGridView
    {
        public DoubleBufferDataGridView()
        {
            SetStyle(ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
            UpdateStyles();
        }
    }
}
